

cmake_minimum_required(VERSION 3.0)

project(test_timer)


include_directories(./)
include_directories(./../)
include_directories(./../../)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

set(test_timer_task_src_list ./test_timer_task.cpp
  ./../timer_task.cpp
  ./../timer_channel.cpp
  ./../timer_description.cpp
  ./../../loop_module/loop.cpp
  ./../../io_reuse_module/io_epoll.cpp
  ./../../io_reuse_module/io_poll.cpp
  ./../../io_reuse_module/io_reuse_module.cpp)

add_executable(TEST_TIMER_TASK ${test_timer_task_src_list})

set(open_libs gtest_main gtest)

target_link_libraries(TEST_TIMER_TASK ${open_libs})
